package com.jintu.portal.repository.mysql.mapper;

import com.jintu.portal.pojo.entity.mysql.RuleChain;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author very
 */
@Mapper
public interface RuleChainMapper {

    public RuleChain queryMyselfRuleChainByCode(@Param("ruleChainCode") String ruleChainCode,
                                                @Param("userId") Integer userId);

    public RuleChain queryOthersRuleChainByCode(@Param("ruleChainCode") String ruleChainCode,
                                                @Param("username") String username);

    public List<String> queryDependencyScoreCards(@Param("ruleChainCode") String ruleChainCode);
}
